<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http:/html4/strict.dtd">
<html lang="en">
<head>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
       function repaintTest()
       {
           document.getElementById('d').style.lineHeight = 3;
       }
    </script>
</head>
<body onload="runRepaintAndPixelTest();">
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=5699">Bugzilla bug 5699</a> REGRESSION: incomplete repaint</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
The word &ldquo;Hello&rdquo; will move down.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 
Another copy of the word &ldquo;Hello&rdquo; will appear.
</p>

<p>
<span id="d">&nbsp;</span><br>
Hello<br>
</p>
</body>
</html>
